home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2001 #9 / CD 9 (Black) - 2001.iso / Pinball / System / BotPack.u / ScriptText15.TextBuffer < prev    next >
Unknown  |  2001-03-07  |  1.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 69 16 63 6c 61 73 73 20 |........|i.class |
|00000010| 50 6c 61 79 65 72 53 68 | 61 64 6f 77 20 65 78 70 |PlayerSh|adow exp|
|00000020| 61 6e 64 73 20 44 65 63 | 61 6c 3b 0d 0a 0d 0a 76 |ands Dec|al;....v|
|00000030| 61 72 20 76 65 63 74 6f | 72 20 4f 6c 64 4f 77 6e |ar vecto|r OldOwn|
|00000040| 65 72 4c 6f 63 61 74 69 | 6f 6e 3b 0d 0a 76 61 72 |erLocati|on;..var|
|00000050| 20 41 63 74 6f 72 20 4f | 6c 64 4c 69 67 68 74 3b | Actor O|ldLight;|
|00000060| 0d 0a 2f 2f 76 61 72 20 | 46 61 64 65 53 68 61 64 |..//var |FadeShad|
|00000070| 6f 77 20 46 61 64 65 53 | 68 61 64 6f 77 3b 0d 0a |ow FadeS|hadow;..|
|00000080| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 41 74 74 61 63 |..functi|on Attac|
|00000090| 68 54 6f 53 75 72 66 61 | 63 65 28 29 0d 0a 7b 0d |hToSurfa|ce()..{.|
|000000a0| 0a 7d 0d 0a 2f 2a 0d 0a | 66 75 6e 63 74 69 6f 6e |.}../*..|function|
|000000b0| 20 44 65 73 74 72 6f 79 | 65 64 28 29 0d 0a 7b 0d | Destroy|ed()..{.|
|000000c0| 0a 09 53 75 70 65 72 2e | 44 65 73 74 72 6f 79 65 |..Super.|Destroye|
|000000d0| 64 28 29 3b 0d 0a 0d 0a | 09 69 66 20 28 20 46 61 |d();....|.if ( Fa|
|000000e0| 64 65 53 68 61 64 6f 77 | 20 21 3d 20 4e 6f 6e 65 |deShadow| != None|
|000000f0| 20 29 0d 0a 09 09 46 61 | 64 65 53 68 61 64 6f 77 | )....Fa|deShadow|
|00000100| 2e 44 65 73 74 72 6f 79 | 28 29 3b 0d 0a 7d 0d 0a |.Destroy|();..}..|
|00000110| 2a 2f 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 54 69 6d |*/..func|tion Tim|
|00000120| 65 72 28 29 0d 0a 7b 0d | 0a 09 44 65 74 61 63 68 |er()..{.|..Detach|
|00000130| 44 65 63 61 6c 28 29 3b | 0d 0a 09 4f 6c 64 4f 77 |Decal();|...OldOw|
|00000140| 6e 65 72 4c 6f 63 61 74 | 69 6f 6e 20 3d 20 76 65 |nerLocat|ion = ve|
|00000150| 63 74 28 30 2c 30 2c 30 | 29 3b 0d 0a 7d 0d 0a 09 |ct(0,0,0|);..}...|
|00000160| 09 09 0d 0a 65 76 65 6e | 74 20 55 70 64 61 74 65 |....even|t Update|
|00000170| 28 41 63 74 6f 72 20 4c | 29 0d 0a 7b 0d 0a 09 6c |(Actor L|)..{...l|
|00000180| 6f 63 61 6c 20 41 63 74 | 6f 72 20 48 69 74 41 63 |ocal Act|or HitAc|
|00000190| 74 6f 72 3b 0d 0a 09 6c | 6f 63 61 6c 20 56 65 63 |tor;...l|ocal Vec|
|000001a0| 74 6f 72 20 48 69 74 4e | 6f 72 6d 61 6c 2c 48 69 |tor HitN|ormal,Hi|
|000001b0| 74 4c 6f 63 61 74 69 6f | 6e 2c 20 53 68 61 64 6f |tLocatio|n, Shado|
|000001c0| 77 53 74 61 72 74 2c 20 | 53 68 61 64 6f 77 44 69 |wStart, |ShadowDi|
|000001d0| 72 3b 0d 0a 0d 0a 09 69 | 66 20 28 20 21 4c 65 76 |r;.....i|f ( !Lev|
|000001e0| 65 6c 2e 62 48 69 67 68 | 44 65 74 61 69 6c 4d 6f |el.bHigh|DetailMo|
|000001f0| 64 65 20 29 0d 0a 09 09 | 72 65 74 75 72 6e 3b 0d |de )....|return;.|
|00000200| 0a 0d 0a 09 53 65 74 54 | 69 6d 65 72 28 30 2e 30 |....SetT|imer(0.0|
|00000210| 38 2c 20 66 61 6c 73 65 | 29 3b 0d 0a 09 69 66 20 |8, false|);...if |
|00000220| 28 20 4f 6c 64 4f 77 6e | 65 72 4c 6f 63 61 74 69 |( OldOwn|erLocati|
|00000230| 6f 6e 20 3d 3d 20 4f 77 | 6e 65 72 2e 4c 6f 63 61 |on == Ow|ner.Loca|
|00000240| 74 69 6f 6e 20 29 0d 0a | 09 09 72 65 74 75 72 6e |tion )..|..return|
|00000250| 3b 0d 0a 0d 0a 09 4f 6c | 64 4f 77 6e 65 72 4c 6f |;.....Ol|dOwnerLo|
|00000260| 63 61 74 69 6f 6e 20 3d | 20 4f 77 6e 65 72 2e 4c |cation =| Owner.L|
|00000270| 6f 63 61 74 69 6f 6e 3b | 0d 0a 0d 0a 09 44 65 74 |ocation;|.....Det|
|00000280| 61 63 68 44 65 63 61 6c | 28 29 3b 0d 0a 0d 0a 09 |achDecal|();.....|
|00000290| 69 66 20 28 20 4f 77 6e | 65 72 2e 53 74 79 6c 65 |if ( Own|er.Style|
|000002a0| 20 3d 3d 20 53 54 59 5f | 54 72 61 6e 73 6c 75 63 | == STY_|Transluc|
|000002b0| 65 6e 74 20 29 0d 0a 09 | 09 72 65 74 75 72 6e 3b |ent )...|.return;|
|000002c0| 0d 0a 0d 0a 09 69 66 20 | 28 20 4c 20 3d 3d 20 4e |.....if |( L == N|
|000002d0| 6f 6e 65 20 29 0d 0a 09 | 09 53 68 61 64 6f 77 44 |one )...|.ShadowD|
|000002e0| 69 72 20 3d 20 76 65 63 | 74 28 30 2e 31 2c 30 2e |ir = vec|t(0.1,0.|
|000002f0| 31 2c 30 29 3b 0d 0a 09 | 65 6c 73 65 0d 0a 09 7b |1,0);...|else...{|
|00000300| 0d 0a 09 09 53 68 61 64 | 6f 77 44 69 72 20 3d 20 |....Shad|owDir = |
|00000310| 4e 6f 72 6d 61 6c 28 4f | 77 6e 65 72 2e 4c 6f 63 |Normal(O|wner.Loc|
|00000320| 61 74 69 6f 6e 20 2d 20 | 4c 2e 4c 6f 63 61 74 69 |ation - |L.Locati|
|00000330| 6f 6e 29 3b 0d 0a 09 09 | 2f 2a 0d 0a 09 09 69 66 |on);....|/*....if|
|00000340| 20 28 20 4f 6c 64 4c 69 | 67 68 74 20 21 3d 20 4c | ( OldLi|ght != L|
|00000350| 20 29 0d 0a 09 09 7b 0d | 0a 09 09 09 69 66 20 28 | )....{.|....if (|
|00000360| 20 46 61 64 65 53 68 61 | 64 6f 77 20 3d 3d 20 4e | FadeSha|dow == N|
|00000370| 6f 6e 65 20 29 0d 0a 09 | 09 09 09 46 61 64 65 53 |one )...|...FadeS|
|00000380| 68 61 64 6f 77 20 3d 20 | 73 70 61 77 6e 28 63 6c |hadow = |spawn(cl|
|00000390| 61 73 73 27 46 61 64 65 | 53 68 61 64 6f 77 27 2c |ass'Fade|Shadow',|
|000003a0| 73 65 6c 66 29 3b 0d 0a | 09 09 0d 0a 09 09 09 46 |self);..|.......F|
|000003b0| 61 64 65 53 68 61 64 6f | 77 2e 4c 69 67 68 74 53 |adeShado|w.LightS|
|000003c0| 6f 75 72 63 65 20 3d 20 | 4f 6c 64 4c 69 67 68 74 |ource = |OldLight|
|000003d0| 3b 0d 0a 09 09 7d 0d 0a | 09 09 4f 6c 64 4c 69 67 |;....}..|..OldLig|
|000003e0| 68 74 20 3d 20 4c 3b 0d | 0a 09 09 2a 2f 0d 0a 09 |ht = L;.|...*/...|
|000003f0| 09 69 66 20 28 20 53 68 | 61 64 6f 77 44 69 72 2e |.if ( Sh|adowDir.|
|00000400| 5a 20 3e 20 30 20 29 0d | 0a 09 09 09 53 68 61 64 |Z > 0 ).|....Shad|
|00000410| 6f 77 44 69 72 2e 5a 20 | 2a 3d 20 2d 31 3b 0d 0a |owDir.Z |*= -1;..|
|00000420| 09 7d 0d 0a 0d 0a 0d 0a | 09 53 68 61 64 6f 77 53 |.}......|.ShadowS|
|00000430| 74 61 72 74 20 3d 20 4f | 77 6e 65 72 2e 4c 6f 63 |tart = O|wner.Loc|
|00000440| 61 74 69 6f 6e 20 2b 20 | 4f 77 6e 65 72 2e 43 6f |ation + |Owner.Co|
|00000450| 6c 6c 69 73 69 6f 6e 52 | 61 64 69 75 73 20 2a 20 |llisionR|adius * |
|00000460| 53 68 61 64 6f 77 44 69 | 72 3b 0d 0a 09 48 69 74 |ShadowDi|r;...Hit|
|00000470| 41 63 74 6f 72 20 3d 20 | 54 72 61 63 65 28 48 69 |Actor = |Trace(Hi|
|00000480| 74 4c 6f 63 61 74 69 6f | 6e 2c 20 48 69 74 4e 6f |tLocatio|n, HitNo|
|00000490| 72 6d 61 6c 2c 20 53 68 | 61 64 6f 77 53 74 61 72 |rmal, Sh|adowStar|
|000004a0| 74 20 2d 20 76 65 63 74 | 28 30 2c 30 2c 33 30 30 |t - vect|(0,0,300|
|000004b0| 29 2c 20 53 68 61 64 6f | 77 53 74 61 72 74 2c 20 |), Shado|wStart, |
|000004c0| 66 61 6c 73 65 29 3b 0d | 0a 0d 0a 09 69 66 20 28 |false);.|....if (|
|000004d0| 20 48 69 74 41 63 74 6f | 72 20 3d 3d 20 4e 6f 6e | HitActo|r == Non|
|000004e0| 65 20 29 0d 0a 09 09 72 | 65 74 75 72 6e 3b 0d 0a |e )....r|eturn;..|
|000004f0| 0d 0a 09 53 65 74 4c 6f | 63 61 74 69 6f 6e 28 48 |...SetLo|cation(H|
|00000500| 69 74 4c 6f 63 61 74 69 | 6f 6e 29 3b 0d 0a 09 53 |itLocati|on);...S|
|00000510| 65 74 52 6f 74 61 74 69 | 6f 6e 28 72 6f 74 61 74 |etRotati|on(rotat|
|00000520| 6f 72 28 48 69 74 4e 6f | 72 6d 61 6c 29 29 3b 0d |or(HitNo|rmal));.|
|00000530| 0a 09 41 74 74 61 63 68 | 44 65 63 61 6c 28 31 30 |..Attach|Decal(10|
|00000540| 2c 20 53 68 61 64 6f 77 | 44 69 72 29 3b 0d 0a 7d |, Shadow|Dir);..}|
|00000550| 0d 0a 0d 0a 2f 2a 20 67 | 61 6d 20 2d 2d 20 72 65 |..../* g|am -- re|
|00000560| 6d 6f 76 65 64 20 66 72 | 6f 6d 20 64 65 66 61 75 |moved fr|om defau|
|00000570| 6c 74 70 72 6f 70 65 72 | 74 69 65 73 0d 0a 09 54 |ltproper|ties...T|
|00000580| 65 78 74 75 72 65 3d 74 | 65 78 74 75 72 65 27 42 |exture=t|exture'B|
|00000590| 6f 74 70 61 63 6b 2e 65 | 6e 65 72 67 79 6d 61 72 |otpack.e|nergymar|
|000005a0| 6b 27 0d 0a 2d 2d 2d 20 | 67 61 6d 20 2a 2f 0d 0a |k'..--- |gam */..|
|000005b0| 0d 0a 00 | |... | |
+--------+-------------------------+-------------------------+--------+--------+